import request from '@/utils/request'

// 查询评论分析三级分类列表
export function selectFirstCategory(query) {
  return request({
    url: '/comment/BiCommentType/selectFirstCategory',
    method: 'get',
    params: query
  })
}

// 查询评论分析三级分类列表
export function selectSecondCategory(query) {
  return request({
    url: '/comment/BiCommentType/selectSecondCategory',
    method: 'get',
    params: query
  })
}
// 查询评论分析三级分类列表
export function listBiCommentType(query) {
  return request({
    url: '/comment/BiCommentType/list',
    method: 'get',
    params: query
  })
}
// 查询评论分析三级分类列表
export function listVo(query) {
  return request({
    url: '/comment/BiCommentType/listVo',
    method: 'get',
    params: query
  })
}
// 查询评论分析三级分类详细
export function getBiCommentType(id) {
  return request({
    url: '/comment/BiCommentType/' + id,
    method: 'get'
  })
}

// 新增评论分析三级分类
export function addBiCommentType(data) {
  return request({
    url: '/comment/BiCommentType',
    method: 'post',
    data: data
  })
}

// 修改评论分析三级分类
export function updateBiCommentType(data) {
  return request({
    url: '/comment/BiCommentType',
    method: 'put',
    data: data
  })
}

// 删除评论分析三级分类
export function delBiCommentType(id) {
  return request({
    url: '/comment/BiCommentType/' + id,
    method: 'delete'
  })
}
